package com.example.controller;

import com.example.pojo.Order;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;

@Controller
public class OrderController {

    @PostMapping("/complexPojo")
    public String testComplexPojoBinding(Order order) {
        System.out.println("order = " + order);

        return "WEB-INF/jsp/index.jsp";
    }
}
